<clickhouse>
    <storage_configuration>
        <disks>
            <s3>
                <type>s3</type>
                <endpoint>http://minio1:9001/root/data/</endpoint>
                <access_key_id>minio</access_key_id>
                <secret_access_key>minio123</secret_access_key>
                <s3_max_single_part_upload_size>33554432</s3_max_single_part_upload_size>
                <s3_max_put_rps>10</s3_max_put_rps>
                <s3_max_get_rps>10</s3_max_get_rps>
                <read_resource>network_read</read_resource>
                <write_resource>network_write</write_resource>
            </s3>
        </disks>
        <policies>
            <s3>
                <volumes>
                    <main>
                        <disk>s3</disk>
                    </main>
                </volumes>
            </s3>
        </policies>
    </storage_configuration>
    <resources>
        <network_read>
            <node path="/">              <type>inflight_limit</type><max_cost>1000000</max_cost></node>
            <node path="/prio">          <type>priority</type></node>
            <node path="/prio/admin">    <type>fifo</type><priority>0</priority></node>
            <node path="/prio/fair">     <type>fair</type><priority>1</priority></node>
            <node path="/prio/fair/prod"><type>fifo</type><weight>9</weight></node>
            <node path="/prio/fair/dev"> <type>fifo</type><weight>1</weight></node>
        </network_read>
        <network_write>
            <node path="/">              <type>inflight_limit</type><max_cost>1000000</max_cost></node>
            <node path="/prio">          <type>priority</type></node>
            <node path="/prio/admin">    <type>fifo</type><priority>0</priority></node>
            <node path="/prio/fair">     <type>fair</type><priority>1</priority></node>
            <node path="/prio/fair/prod"><type>fifo</type><weight>9</weight></node>
            <node path="/prio/fair/dev"> <type>fifo</type><weight>1</weight></node>
        </network_write>
    </resources>
    <workload_classifiers>
        <admin>
            <network_read>/prio/admin</network_read>
            <network_write>/prio/admin</network_write>
        </admin>
        <production>
            <network_read>/prio/fair/prod</network_read>
            <network_write>/prio/fair/prod</network_write>
        </production>
        <development>
            <network_read>/prio/fair/dev</network_read>
            <network_write>/prio/fair/dev</network_write>
        </development>
        <default>
            <network_read>/prio/fair/dev</network_read>
            <network_write>/prio/fair/dev</network_write>
        </default>
    </workload_classifiers>
</clickhouse>
